package com.mskj.zxmy.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @BelongsProject: zxmy
 * @BelongsPackage: com.mskj.zxmy.entity
 * @Author: lk
 * @CreateTime: 2025-07-23
 * @Description: TODO
 * @Version: 1.0
 */
@Data
@Schema(description = "出库单")
public class Lists {

    private Integer id;
    @Schema(description = "出库单号")
    private String cashiersNumber;
    @Schema(description = "出库类型")
    private String poolType;
    @Schema(description = "出库日期")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date collectionDate;
    private String operator;
    private String fc60; // JSON类型字段
    @Schema(description = "备注")
    private String remarks;
    private String approvalStatus;
    private String showMeTheDetails; // JSON类型字段
    private Integer associatedOrders;
    private Integer clientInformation;
    private Integer associatedConsignmentOrder;
    private String synchronisingFolderFailedSS;
    private Date created;
    private String modifyer;
    private Date modified;
    @Schema(description = "数量")
    private BigDecimal totalNumber;
    private BigDecimal totalAmount;
    private String billNumber;
    private Date reconciliationDate;
    private Date period;
    private BigDecimal numberOfReconciliations;
    private BigDecimal taxRate;
    private BigDecimal taxes;
    private BigDecimal amountOfDiscount;
    private BigDecimal otherCosts1;
    private BigDecimal reconciliationAmount1;
    private String reconciliationStatus;
    private String methodOfCollection;
    private BigDecimal amountOfPayment;
    private String paymentStatus;
    private Integer salesOrders;
    private Integer associationInventory;
    private String remarksOnAccounts;
    private String test123;
    private Integer repositoryApplication;
    private String documentStatus;
    private String approvingOfficer;
    private String operator1;
    private String theLeadman;
    private String applicant;
    private String Approver;

    @Schema(description = "领料人")
    private String Receiver;
    ///////////////
    @Schema(description = "生产任务ID")
    private Integer prodTaskId;

    @Schema(description = "生产任务编号|出库任务")
    private String productNo;

    @Schema(description = "出库工序")
    private String processName;

    @Schema(description = "工艺任务ID")
    private Integer processTaskId;

    @Schema(description = "出库单明细")
    List<Ck02CheckoutFormCheckout> ckdDetail;

}
